<?php if (!defined('BASEPATH'))exit('No direct script access allowed');
/**
 * 好友模块控制器
 */
class Mfriend extends MY_Controller {

    function __construct() {
        parent::__construct();
        $this->assign("module", "mfriend");
        $this->month_en_to_ch = array(1=>"一",2=>"二",3=>"三",4=>"四",5=>"五",6=>"六",7=>"七",8=>"八",9=>"九",10=>"十",11=>"十一",12=>"十二");
    }
    //新手任务首页
    function index() {
        if(!$this->bbs_userinfo){//访问超时，请重新登录
            web_redirect("account/login.html".$this->get_next_request_url());
        }
        $spread_url = web_url(encrypt_user_id($this->bbs_userinfo['user_id']));
        $this->assign("spread_url", $spread_url);
        $this->display('mfriend/index.html');
    }
}
